package vashion.azeroth.core.manager.personal;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import vashion.azeroth.core.dao.BaseDao;
import vashion.azeroth.core.manager.impl.BaseManagerImpl;
import vashion.azeroth.core.personal.dao.PersonalProfilesDao;
import vashion.azeroth.core.personal.pojo.PersonalProfiles;

@Service
public class PersonalProfilesManager extends BaseManagerImpl<PersonalProfiles> {

	@Autowired
	private PersonalProfilesDao personalProfilesDao;
	
	@Override
	public BaseDao<PersonalProfiles> getDao() {
		
		return personalProfilesDao;
	}

	public int checkProfileCnt(Long memberId) {
		return personalProfilesDao.checkProfileCnt(memberId);
	}

	public ArrayList<PersonalProfiles> getProfileList(PersonalProfiles profiles) {
		// TODO Auto-generated method stub
		return personalProfilesDao.getProfileList(profiles);
	}
	
}
